package org.grow.leavejpa.dao;


import org.grow.leavejpa.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: xwg
 * @CreateDate: 21-6-7
 */
@Repository
public interface UserInfoJpa extends JpaRepository<UserInfo,Integer> {

    UserInfo findByUsername(String name);
}
